LIB_THREAD = -lpthread #-lpthread
LIB_EVENT = -levent #-levent

httpd: httpd.c
	gcc httpd.c -g -Wall $(LIB_THREAD) -o httpd

epoll_httpd: epoll_httpd.c
	gcc epoll_httpd.c -g -Wall -o epoll_httpd

libevent_httpd: libevent_httpd.c
	gcc libevent_httpd.c -g -Wall $(LIB_EVENT) -o libevent_httpd

clean:
	rm httpd epoll_httpd libevent_httpd